//
//  CircleView.swift
//  OnceNectar
//
//  Created by 法正磊 on 2018/1/29.
//  Copyright © 2018年 com.inwhoop. All rights reserved.
//

import UIKit

class BaseCircleView: UIView, CircleView {

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */
    
    override func draw(_ rect: CGRect) {
        if self.layer.mask == nil {
            self.setCircle(rect: rect, cornerRadius: CORNERRADIUS)
        }
        
    }

}
